home *** CD-ROM | disk | FTP | other *** search
- Path: winternet.com!mschwarz
- From: mschwarz@winternet.com (Michael Schwarz)
- Newsgroups: comp.lang.c
- Subject: Re: DOS compiler with socket support???
- Date: 15 Feb 1996 23:02:09 GMT
- Organization: StarNet Communications, Inc
- Message-ID: <4g0e1h$97v@blackice.winternet.com>
- References: <31228C79.55B0@umbc.edu>
- NNTP-Posting-Host: parka.winternet.com
- X-Newsreader: TIN [version 1.2 PL2]
-
- Kevin Burton (kburto1@umbc.edu) wrote:
- : I am looking for a C/C++ DOS compiler that has socket support for
- : AF_INET,SOCK_STREAM sockets. If anyone can offer any suggestions I
- : would be very appreciative.
-
- : TIA
-
- : Kevin Burton
-
- I'm not aware of one with native support. The reason for this is simple.
- MS-DOS does not support TCP/IP in any sort of "native" way. All the TCP/IP
- protocol stacks for MS-DOS are third party. Nost of those third parties
- provide C API's for sockets, often as a separate product.
-
- The only one I've used are the socket libs for Novell's LAN Workplace for
- DOS product. They're not great (the LWP TCP/IP implementation is pretty
- bad anyway -- doesn't do window sizing in the TCP protocol very well)
- but they work. The only difference between that lib and BSD sockets
- is that since the "read" and "write" functions in the stdio lib don't
- directly support sockets, the LWP libs have soread() and sowrite() functions
- to do the reads and writes on sockets. You can get around that with
- pre-processor defines pretty easily.
-
- I know there are a number of other choices as well, but I haven't done
- much socket programming under MS-DOS.
-
- Good luck!
-
-
- --
- Michael A. Schwarz Minneapolis, MN
- mschwarz@winternet.com n0zes@n0zes.ampr.org
-
-